package com.segersten.othello.service.rest;

import com.segersten.othello.service.rest.AuthenticationService;
import com.segersten.othello.service.rest.AuthenticationServiceFactory;
import com.segersten.othello.service.rest.LocalFileAuthenticateService;

public class LocalFileAuthenticateServiceFactory implements AuthenticationServiceFactory
{

    private LocalFileAuthenticateService authenticateService;
   
    public LocalFileAuthenticateServiceFactory(String path)
    {
        this.authenticateService = new LocalFileAuthenticateService(path);
    }

    @Override
    public AuthenticationService create()
    {
        return authenticateService;
    }

}
